var gulp = require('gulp')
var browserSync = require('browser-sync')

gulp.task('browserSync', function () {
  browserSync({
    server: {
      baseDir: 'dev',
      index: 'dev.html'
    },
    port: 8088
  })
  gulp.watch(['dev/*'].on('change', browserSync.reload))
})

gulp.task('watch', function () {
  console.log('default gulp task...')
  gulp.watch('dev/*', browserSync.reload)
})

gulp.task('default', ['browserSync'])
